doctype html
html
  head
    meta[name="viewport" content="width=device-width, initial-scale=1.0"]
    title
      = content_for?(:title) ? yield(:title) : 'Blog'
    meta content="#ffffff" name="theme-color" /
    meta name="description" content="#{content_for?(:description) ? yield(:description) : 'Blog'}"
    == stylesheet_link_tag "application", :media => 'all', 'data-turbolinks-track' => 'reload'
    == javascript_include_tag 'application', 'data-turbolinks-track' => 'reload'
    == render 'layouts/shim'
    == csrf_meta_tags
  body class="#{controller_name} #{action_name}"
    header
      == render 'layouts/navigation'
    main[role="main"]
      .container
        .flash
          == render 'layouts/messages'
        == yield
